/*
 * @Author: your name
 * @Date: 2021-11-03 20:47:19
 * @LastEditTime: 2022-02-21 17:13:59
 * @LastEditors: Please set LastEditors
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: \vue-antd-admin-new\src\services\api.js
 */
//跨域代理前缀
// const API_PROXY_PREFIX='/api'
// const BASE_URL = process.env.NODE_ENV === 'production' ? process.env.VUE_APP_API_BASE_URL : API_PROXY_PREFIX
const BASE_URL = process.env.VUE_APP_API_BASE_URL === '/' ? '': process.env.VUE_APP_API_BASE_URL
module.exports = {
  BASE_URL:BASE_URL,
  LOGIN: `${BASE_URL}/adminApi/login`,
  ROUTES: `${BASE_URL}/adminApi/getRoute`,
  teachingUploadApi: `${BASE_URL}/adminApi/teaching/uploadOneFile`,
  teachingListApi:`${BASE_URL}/adminApi/teaching/teachingList`,
  teachingGoupByApi:`${BASE_URL}/adminApi/teaching/teachingGoupBy`,
  teachingUpdateApi:`${BASE_URL}/adminApi/teaching/teachingUpdate`,
  teachingAddApi:`${BASE_URL}/adminApi/teaching/teachingAdd`,
  teachingSelOneApi:`${BASE_URL}/adminApi/teaching/teachingSelOne`,
  checkRoleApi:`${BASE_URL}/adminApi/checkRole`,
  loginOutApi:`${BASE_URL}/adminApi/loginOut`,
  roleListApi:`${BASE_URL}/adminApi/role/roleList`,
  roleAddApi:`${BASE_URL}/adminApi/role/roleAdd`,
  roleEditApi:`${BASE_URL}/adminApi/role/roleEdit`,
  roleSelOneApi:`${BASE_URL}/adminApi/role/roleSelOne`,
  permissionApi:`${BASE_URL}/adminApi/role/permission`,
  adminRoleListApi:`${BASE_URL}/adminApi/admin/adminRoleList`,
  adminAddApi:`${BASE_URL}/adminApi/admin/adminAdd`,
  adminListApi:`${BASE_URL}/adminApi/admin/adminList`,
  adminEditApi:`${BASE_URL}/adminApi/admin/adminEdit`,
  adminSelOneApi:`${BASE_URL}/adminApi/admin/adminSelOne`,
  checkUserNameApi:`${BASE_URL}/adminApi/admin/checkUserName`,
  adminAvatarApi:`${BASE_URL}/adminApi/admin/adminAvatar`,
  areaAddApi:`${BASE_URL}/adminApi/area/areaAdd`,
  areaEditApi:`${BASE_URL}/adminApi/area/areaEdit`,
  areaSelOneApi:`${BASE_URL}/adminApi/area/areaSelOne`,
  areaListApi:`${BASE_URL}/adminApi/area/areaList`,
  areaSelListApi:`${BASE_URL}/adminApi/area/areaSelList`,

  buildingAddApi:`${BASE_URL}/adminApi/building/buildingAdd`,
  buildingEditApi:`${BASE_URL}/adminApi/building/buildingEdit`,
  buildingListApi:`${BASE_URL}/adminApi/building/buildingList`,
  buildingSelOneApi:`${BASE_URL}/adminApi/building/buildingSelOne`,
  buildingBatchEditApi:`${BASE_URL}/adminApi/building/buildingBatchEdit`,
  buildingManyImageApi:`${BASE_URL}/adminApi/building/manyImage`,
  buildingCoverImageApi:`${BASE_URL}/adminApi/building/coverImage`,
  buildingSelectListApi:`${BASE_URL}/adminApi/building/buildingSelectList`,
   
  storeAddApi:`${BASE_URL}/adminApi/store/storeAdd`,
  storeEditApi:`${BASE_URL}/adminApi/store/storeEdit`,
  storeListApi:`${BASE_URL}/adminApi/store/storeList`,
  storeSelOneApi:`${BASE_URL}/adminApi/store/storeSelOne`,
  storeBatchEditApi:`${BASE_URL}/adminApi/store/storeBatchEdit`,
  storeManyImageApi:`${BASE_URL}/adminApi/store/manyImage`,
  storeCoverImageApi:`${BASE_URL}/adminApi/store/coverImage`,
  storeAdminSelectApi:`${BASE_URL}/adminApi/store/storeAdminSelect`,
  storeTagListApi:`${BASE_URL}/adminApi/store/storeTagList`,

  housingAddApi:`${BASE_URL}/adminApi/housing/housingAdd`,
  housingEditApi:`${BASE_URL}/adminApi/housing/housingEdit`,
  housingListApi:`${BASE_URL}/adminApi/housing/housingList`,
  housingSelOneApi:`${BASE_URL}/adminApi/housing/housingSelOne`,
  housingBatchEditApi:`${BASE_URL}/adminApi/housing/housingBatchEdit`,
  housingManyImageApi:`${BASE_URL}/adminApi/housing/manyImage`,
  housingCoverImageApi:`${BASE_URL}/adminApi/housing/coverImage`,
  housingAdminSelectApi:`${BASE_URL}/adminApi/housing/housingAdminSelect`,
  housingTagListApi:`${BASE_URL}/adminApi/housing/housingTagList`,
  

  adminSelectListApi:`${BASE_URL}/adminApi/admin/selectList`,
  
  settingSelOneApi:`${BASE_URL}/adminApi/findShopSettings/settingSelOne`,
  settingsEditApi:`${BASE_URL}/adminApi/findShopSettings/settingsEdit`,

  uploadOneFileApi:`${BASE_URL}/adminApi/upload/uploadOneFile`,
  manyFileApi:`${BASE_URL}/adminApi/upload/manyFile`,

  freeDistributionEditApi:`${BASE_URL}/adminApi/freeDistribution/freeDistributionEdit`,
  freeDistributionSelOneApi:`${BASE_URL}/adminApi/freeDistribution/freeDistributionSelOne`,
  freeDistributionListApi:`${BASE_URL}/adminApi/freeDistribution/freeDistributionList`,
  freeDistributionBatchEditApi:`${BASE_URL}/adminApi/freeDistribution/freeDistributionBatchEdit`,

  subscribeListApi:`${BASE_URL}/adminApi/subscribe/subscribeList`,
  subscribeEditApi:`${BASE_URL}/adminApi/subscribe/subscribeEdit`,
  subscribeSelOneApi:`${BASE_URL}/adminApi/subscribe/subscribeSelOne`,
  subscribeBatchEditApi:`${BASE_URL}/adminApi/subscribe/subscribeBatchEdit`,


  mineMsgApi:`${BASE_URL}/adminApi/admin/mineMsg`,


  dailyParttimeUserListApi:`${BASE_URL}/adminApi/dailyParttimeUser/userList`,
  dailyParttimeClearUserBindApi:`${BASE_URL}/adminApi/dailyParttimeUser/clearUserBind`,
  dailyParttimeUserBindApi:`${BASE_URL}/adminApi/dailyParttimeUser/userBind`,

  divisionAddApi:`${BASE_URL}/adminApi/crmDivision/divisionAdd`,
  divisionEditApi:`${BASE_URL}/adminApi/crmDivision/divisionEdit`,
  divisionSelOneApi:`${BASE_URL}/adminApi/crmDivision/divisionSelOne`,
  divisionListApi:`${BASE_URL}/adminApi/crmDivision/divisionList`,


  operationLogListApi:`${BASE_URL}/adminApi/operationLog/operationLogList`,
  crmOperationLogListApi:`${BASE_URL}/adminApi/crmOperationLog/operationLogList`,

  permissionListApi:`${BASE_URL}/adminApi/crmRole/permissionList`,
  crmRoleAddApi:`${BASE_URL}/adminApi/crmRole/roleAdd`,
  crmRoleListApi:`${BASE_URL}/adminApi/crmRole/roleList`,
  crmRoleEditApi:`${BASE_URL}/adminApi/crmRole/roleEdit`,
  crmRoleSelOneApi:`${BASE_URL}/adminApi/crmRole/roleSelOne`,
  crmRoleSelectListApi:`${BASE_URL}/adminApi/crmRole/roleSelectList`,
}